package com.xique.door.bean.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xique.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @author shd
 * @create 2022/3/29 11:20
 */
@Data
@TableName(value = "d_elevator")
public class BuildElevator {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long parkId;

    /** 区域编号 */
    @Excel(name = "区域编号")
    private Long areaId;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    private Long buildingId;

    /** 电梯名称 */
    @Excel(name = "电梯名称")
    private String name;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private String remark;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
